<!DOCTYPE html>
<html lang="en">
	<head>
		<base href="/xbjy/">
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- Bootstrap CSS-->
		<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.css">
		<!-- Font Awesome CSS-->
		<link rel="stylesheet" href="vendor/font-awesome/css/font-awesome.min.css">
		<!-- Custom Font Icons CSS-->
		<link rel="stylesheet" href="css/font.css">
		<!-- theme stylesheet-->
		<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
		<!-- Custom stylesheet - for your changes-->
		<link rel="stylesheet" href="css/custom.css">
		<link rel="stylesheet" href="css/layer.css">
		<link rel="stylesheet" href="bootstrap/css/bootstrap-switch.min.css">
		<title>会议系统</title>

	</head>
	<body>
		<div id="app">
			<header class="header" id="header"></header>

			<div class="d-flex align-items-stretch">
				<!-- Sidebar Navigation-->
				<nav id="sidebar"></nav>
				<!-- Sidebar Navigation end-->
				<div class="page-content">
					<div class="page-header">
						<div class="container-fluid">
							<h2 class="h5 no-margin-bottom">会议系统</h2>
						</div>
					</div>

					<section class="no-padding-bottom">

						<div class="list-group">
							<!--搜索文章的条件-->
							<div class="myTitle">
								<form class="form-inline">
									<div class="form-group">
										<label for="inlineFormInput" class="sr-only">Name</label>
										<input id="inlineFormInput" v-model="title" type="text" placeholder="按标题名字查找" class="mr-sm-3 form-control">
									</div>

									<!--选择状态-->
									<div class="form-group" style="margin-right: 20px;">
										<select name="dep" class="form-control selectpicker" id="status" v-model="status">
											<option value="">请选择状态</option>
											<option value="0">未开始</option>
											<option value="1">正在进行</option>
											<option value="2">已结束</option>
										</select>
									</div>

									<div class="form-group">
										<input type="button" value="查询" class="btn btn-primary mr-sm-3" @click="findPage(1,3)">
									</div>
								</form>

								<input id="addMeet" type="submit" value="发布会议" class="btn btn-primary">


							</div>

							<ul class="myList">
								<li class="list-group-item" v-for="m in pageInfo.list">
									<div style="float: right;">
										<span><strong>状态：</strong>
											<span v-if="m.status==0">未开始</span>
											<span v-else-if="m.status==1">进行中</span>
											<span v-else>已结束</span>
										</span>
									</div>
									<a href="meeting/toMeetingDetail" @click="toMeetingDetail(m.id)">{{m.title}}</a>
									<p class="h6"><strong>部门：</strong>{{m.deptName}}</p>
									<p class="h6"><strong>开始时间：</strong>{{m.startTime}}</p>
									<p style="white-space:nowrap;overflow:hidden;text-overflow: ellipsis">{{m.content}}</p>
								</li>

							</ul>

							<nav class="text-center" aria-label="Page navigation">
								<ul class="pagination">
									<li v-if="pageInfo.hasPreviousPage">
										<a @click="findArticlePage(pageInfo.pageNum-1,3)" aria-label="Previous">
											<span aria-hidden="true" >&laquo;</span>
										</a>
									</li>
									<li v-for="num in pageInfo.navigatepageNums"><a :class="num===pageInfo.pageNum?'nav-active':''" @click="findArticlePage(num,3)">{{num}}</a></li>
									<li v-if="pageInfo.hasNextPage">
										<a @click="findArticlePage(pageInfo.pageNum+1,3)" aria-label="Next">
											<span aria-hidden="true">&raquo;</span>
										</a>
									</li>
								</ul>
							</nav>
						</div>
					</section>

					<footer class="footer">
						<div class="footer__block block no-margin-bottom">
							<div class="container-fluid text-center">
								<p class="no-margin-bottom">Copyright &copy; 2019.Company <a href="#">东方标准</a></p>
							</div>
						</div>
					</footer>
				</div>
			</div>
		</div>
		<!-- JavaScript files-->
		<script src="vendor/jquery/jquery.min.js"></script>
		<script src="vendor/popper.js/umd/popper.min.js"></script>
		<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="vendor/jquery.cookie/jquery.cookie.js"></script>
		<script src="vendor/chart.js/Chart.min.js"></script>
		<script src="vendor/jquery-validation/jquery.validate.min.js"></script>
		<script src="js/charts-home.js"></script>
		<script src="js/front.js"></script>
		<script src="js/custom.js"></script>
		<script src="js/layer.js"></script>
		<script src="js/vue-2.6.11.js"></script>
		<script src="js/axios-0.19.2.min.js"></script>
		<script src="js/jquery-cookie-1.4.1.js"></script>
		<script src="js/echarts.min.js"></script>
		<script src="js/meeting/meeting.js"></script>
	</body>
</html>
<script>
	$(function(){
		$("#header").load("common/header");

		$("#sidebar").load("common/sidebar");
	});
</script>